package com.yatube.yygh.hospital.repository;

import com.yatube.yygh.model.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author Created with IDEA
 * @description --
 * @date 2024-04-23 23:02
 */
public interface HospitalRepository extends MongoRepository<Hospital, String> {

    Hospital findByHoscode(String hoscode);
    Hospital findHospitalByHoscode(String hoscode);
}
